package com.example.finalwork.service;


import com.example.finalwork.model.Normal;
import com.example.finalwork.repository.NormalRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NormalService {
    @Autowired
    private NormalRepository normalRepository;

    public List<Normal> findAll() {
        return normalRepository.findAll();

    }



}

